package com.qf.service.impl;

import com.qf.dao.UserDao;
import com.qf.dao.factory.BeanFactory;
import com.qf.dao.impl.UserDaoImpl;
import com.qf.service.UserService;

/**
 * 描述:
 */
public class UserServiceImpl implements UserService {

    UserDao userDao = (UserDao) BeanFactory.getBean("userDao");

    public void insert() {
        userDao.insert();
    }

    public void update() {
        userDao.update();
    }

    public void delete() {
        userDao.delete();
    }

    public void select() {
        userDao.select();
    }
}
